Monitoring of vital functions